﻿using CommonHttpServer;
using flyticketBase;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace flypeachTicketServer
{
    class Program
    {
        static void Main(string[] args)
        {
            ResponseTag info;
            IQueryTicket q = new flypeachTicketQuery();
            q.Init();
            string html = q.QueryTicket("KIX", "HKG", false, DateTime.Now.AddDays(23), null);
            //string html = File.ReadAllText(@"C:\Users\Guo\Documents\HBuilderProjects\HelloHBuilder\index.html");
            var list = q.AnalyseHtml(html, out info);
        }
    }
}
